﻿namespace FlyingEye.DeviceClients.Requests
{
    /// <summary>
    /// 读取值类型数据任务
    /// </summary>
    public class ReadNumericValueRequest : RequestBase
    {
        public ReadNumericValueRequest(
            string deviceName,
            string address,
            string dataType) : base(deviceName)
        {
            Address = address;
            DataType = dataType;
        }

        /// <summary>
        /// PLC 点位的地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// PLC 读取的数据类型
        /// </summary>
        public string DataType { get; set; }
    }
}
